package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_vehicle_skill_refine", desc = "珍兽技能洗练", autoSave = true, uploadCk = true)
public class LogVehicleSkillRefine extends ServerBaseLog {
    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "珍兽唯一id")
    private String vehicleUid;
    @FieldTypeAnnotation(desc = "珍兽配置id")
    private int templateId;
    @FieldTypeAnnotation(desc = "技能位置")
    private int skillPos;
    @FieldTypeAnnotation(desc = "技能类型")
    private int type;
    @FieldTypeAnnotation(desc = "技能值")
    private int value;
    @FieldTypeAnnotation(desc = "是否定制")
    private boolean isCustomize;
    @FieldTypeAnnotation(desc = "消耗")
    private String consume;

    public LogVehicleSkillRefine(long userId, String vehicleUid, int templateId, int skillPos, int type, int value, boolean isCustomize, String consume) {
        this.userId = userId;
        this.vehicleUid = vehicleUid;
        this.templateId = templateId;
        this.skillPos = skillPos;
        this.type = type;
        this.value = value;
        this.isCustomize = isCustomize;
        this.consume = consume;
    }

    public long getUserId() {
        return userId;
    }

}
